package com.xiaoxi.buildermode;

import com.xiaoxi.buildermode.builder.HtmlBuilder;
import com.xiaoxi.buildermode.builder.TextBuilder;
import com.xiaoxi.buildermode.diretor.Director;

/**
 * @ClassName Main
 * @Description
 * @Author xiaoxi
 * @Date 2023/3/12 15:52
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        Director director = new Director(new TextBuilder());
        director.printContent();

        Director director1 = new Director(new HtmlBuilder());
        director1.printContent();

    }
}
